<template>
  <div class="pao">
    <Gerzhox/>
    <div class="usertask">
      <div class="mb10 clearfix center_box">
        <div class="center_tt">我的任务<span class="line"><s class="l_5"></s></span></div>
        <div class="comm_bd tab_task">
          <a href="#" class="p_task_spr p_task_not_over">未完成任务</a>
          <div class="clearfix center_tab">
            <div class="current tu">全部(0/13)<i class="p_task_spr p_task_spr_grow" style="background-position: -80px -319px;"></i></div>
           <div class="tu"><i class="p_task_spr p_task_spr_grow" style="background-position: -80px -273px;"></i>每日任务(0/3)</div>
            <div class="tu"><i class="p_task_spr p_task_spr_grow" style="background-position: -80px -273px;"></i>新手任务(0/7)</div>
            <div class="tu"><i class="p_task_spr p_task_spr_grow" style="background-position: -80px -273px;"></i>成长任务(0/3)</div>
          </div>
          <div class="clearfix2">
          <div class="tab_task_cont current dis">
            <ul class="clearfix">
              <li>
                <div class="item_cate">
                  <i class="p_task_spr p_task_spr_daysb" style="background-position: 0 -188px;"></i>
                  <span>每日任务</span>
                  </div>
                  <div class="txt">
                    <p class="dec"><span>有理想</span></p>
                    <p class="prize">
                    <span>完成1次道具许愿</span>
                   <span style="padding-left: 10px">奖励：</span>
                   <span class="p_task_spr" style="background:url(//ossweb-img.qq.com/images/gameshop/aba/images/thumb_sPackageGoodsPic12529/judouxiaotu.png) no-repeat;background-size:15px;" title="聚豆">+3</span>
                  </p>
                  </div>
                  <a href="#" class="btn_get btn_getover">未完成</a>
              </li>
            </ul>
          </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Gerzhox from '@/views/commodity/gerzhox'
export default {
  components: { Gerzhox },
  name: 'personal',
  methods: {
    doap () {
      console.log('aa')
    }
  }
}
</script>

<style lang="scss" scoped>
.pao {
  .usertask {
    width: 948px;
    min-height: 255px;
    height: auto;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e6e9ef;
  }
.center_box {
    padding: 15px 20px 20px 20px;
    .center_tt {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    .line {
    display: block;
    background: #e6e9ef;
    height: 1px;
    overflow: hidden;
    margin-top: 5px;
      }
      .line s.l_5 {
          width: 72px;
      }
      .line s {
          display: block;
          background: #f74a4a;
          height: 1px;
          overflow: hidden;
      }

      }
      .tab_task {
        font-size: 14px;
        position: relative;
        .center_tab .p_task_spr {
          display: inline-block;
          width: 24px;
          height: 20px;
          vertical-align: middle;
      }
      .clearfix2{
        height: 300px;
        div.current {
            display: block;
        }
      }
    .p_task_spr {
    background: url(//js01.daoju.qq.com/common/images/mall/p_task_spr.png) no-repeat;
    }
    .p_task_not_over {
    background-position: 75px -320px;
    position: absolute;
    right: 20px;
    top: 15px;
    width: 90px;
    }
    .tab_task_cont {
      .clearfix {
      padding: 0 20px;
      .current {
            display: block;
        }
      }
    li {
    padding: 20px 0 10px 0;
    border-bottom: 1px solid #e6e9ef;
    width: 100%;
    float: left;
  }
  .txt {
    width: 590px;
    float: left;
    padding: 0 10px;
    .dec {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    padding: 10px 0 5px 0;
  }
  .prize {
    font-size: 12px;
  }
  .p_task_spr {
    padding: 0 10px 0 25px;
    color: #f74a4a;
}
  }
    }
    .item_cate {
    width: 90px;
    float: left;
    text-align: center;
    .p_task_spr {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto;
}
  }
    .btn_get {
      background: #d1d1d1;
      width: 156px;
      height: 54px;
      float: right;
      text-align: center;
      color: #fff;
      line-height: 54px;
      font-size: 18px;
      margin-top: 8px;
  }
    }
    .comm_bd {
        border: 1px solid #e6e9ef;
        background: #fff;
    }
      }
      .mb10 {
          margin-bottom: 10px;
      }
      .center_tab {
        border-bottom: 1px solid #e6e9ef;
        height: 44px;
        .tu {
        text-decoration: none;
        float: left;
        width: 130px;
        height: 44px;
        font-size: 14px;
        line-height: 44px;
        text-align: center;
        border-right: 1px solid #e6e9ef;
        padding: 0 10px;
        width: 150px;
    }
    a.current {
    border-bottom: 1px solid #f74a4a;
    }
    }
      }

</style>
